<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>BrainTrain: brtr::DrunkenInteractionCallback Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">BrainTrain
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classbrtr_1_1_drunken_interaction_callback.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classbrtr_1_1_drunken_interaction_callback-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">brtr::DrunkenInteractionCallback Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Callback for the drunk effect.  
 <a href="classbrtr_1_1_drunken_interaction_callback.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_drunken_interaction_callback_8h_source.html">DrunkenInteractionCallback.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for brtr::DrunkenInteractionCallback:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classbrtr_1_1_drunken_interaction_callback.png" usemap="#brtr::DrunkenInteractionCallback_map" alt=""/>
  <map id="brtr::DrunkenInteractionCallback_map" name="brtr::DrunkenInteractionCallback_map">
<area href="classbrtr_1_1_base_interaction_callback.html" title="This is the TemplateClass for InteractionCallbacks. " alt="brtr::BaseInteractionCallback" shape="rect" coords="0,56,194,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa252ac5f3bc393ecb75784b98e17b5a5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html#aa252ac5f3bc393ecb75784b98e17b5a5">DrunkenInteractionCallback</a> (osg::Node *camera, osg::Camera *hudCam, osg::Switch *geometrySwitch, int width, int height)</td></tr>
<tr class="memdesc:aa252ac5f3bc393ecb75784b98e17b5a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aa252ac5f3bc393ecb75784b98e17b5a5">More...</a><br /></td></tr>
<tr class="separator:aa252ac5f3bc393ecb75784b98e17b5a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71b86fc410bf2965ca998eff1350cfaf"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html#a71b86fc410bf2965ca998eff1350cfaf">setText</a> ()</td></tr>
<tr class="memdesc:a71b86fc410bf2965ca998eff1350cfaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">sets the text on screen. Subclasses must override to set its own (info)text  <a href="#a71b86fc410bf2965ca998eff1350cfaf">More...</a><br /></td></tr>
<tr class="separator:a71b86fc410bf2965ca998eff1350cfaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classbrtr_1_1_base_interaction_callback"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classbrtr_1_1_base_interaction_callback')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classbrtr_1_1_base_interaction_callback.html">brtr::BaseInteractionCallback</a></td></tr>
<tr class="memitem:afc863306967933e0ebef5f7322fab06e inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#afc863306967933e0ebef5f7322fab06e">BaseInteractionCallback</a> (osg::Node *attachTo, osg::Camera *hudCam, int width, int height)</td></tr>
<tr class="memdesc:afc863306967933e0ebef5f7322fab06e inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#afc863306967933e0ebef5f7322fab06e">More...</a><br /></td></tr>
<tr class="separator:afc863306967933e0ebef5f7322fab06e inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2cf0f22fcc9e79ecda29a547edb5084 inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#ab2cf0f22fcc9e79ecda29a547edb5084">operator()</a> (osg::Node *node, osg::NodeVisitor *nv)</td></tr>
<tr class="separator:ab2cf0f22fcc9e79ecda29a547edb5084 inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad74fe9ac5d86c7f23d18614d5abb1003 inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#ad74fe9ac5d86c7f23d18614d5abb1003">clearText</a> ()</td></tr>
<tr class="separator:ad74fe9ac5d86c7f23d18614d5abb1003 inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95ede7c8aa0dc1e067ae64615ecb23db inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#a95ede7c8aa0dc1e067ae64615ecb23db">reactivate</a> ()</td></tr>
<tr class="separator:a95ede7c8aa0dc1e067ae64615ecb23db inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafca24ccde1cf21f4132f65a83e0b2bc inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">osg::ref_ptr&lt; osg::Node &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#aafca24ccde1cf21f4132f65a83e0b2bc">getNode</a> () const </td></tr>
<tr class="separator:aafca24ccde1cf21f4132f65a83e0b2bc inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a420a1977c954850dbe66a189908cde80 inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#a420a1977c954850dbe66a189908cde80">setNode</a> (osg::ref_ptr&lt; osg::Node &gt; val)</td></tr>
<tr class="separator:a420a1977c954850dbe66a189908cde80 inherit pub_methods_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a86e4062f00a33768f752c1c5fa50c291"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html#a86e4062f00a33768f752c1c5fa50c291">interact</a> (osg::Node *, osg::NodeVisitor *)</td></tr>
<tr class="memdesc:a86e4062f00a33768f752c1c5fa50c291"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drunk effect is simulated by changing the FOV of the projection matrix.  <a href="#a86e4062f00a33768f752c1c5fa50c291">More...</a><br /></td></tr>
<tr class="separator:a86e4062f00a33768f752c1c5fa50c291"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ab1a42a563e42cfd1d480741b30e22245"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html#ab1a42a563e42cfd1d480741b30e22245">_startTime</a></td></tr>
<tr class="separator:ab1a42a563e42cfd1d480741b30e22245"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0aa1983e0fc1cb720badb80464a8e391"><td class="memItemLeft" align="right" valign="top">osg::ref_ptr&lt; osg::Switch &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html#a0aa1983e0fc1cb720badb80464a8e391">_geometrySwitch</a></td></tr>
<tr class="separator:a0aa1983e0fc1cb720badb80464a8e391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaa3e659a9f6516a5b59a43813506a11"><td class="memItemLeft" align="right" valign="top">osg::ref_ptr<br class="typebreak" />
&lt; osgAnimation::LinearMotion &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html#adaa3e659a9f6516a5b59a43813506a11">_motion</a></td></tr>
<tr class="separator:adaa3e659a9f6516a5b59a43813506a11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4be32ea919b41bd46acc34904fb5c7b7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html#a4be32ea919b41bd46acc34904fb5c7b7">_backwards</a></td></tr>
<tr class="separator:a4be32ea919b41bd46acc34904fb5c7b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classbrtr_1_1_base_interaction_callback"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classbrtr_1_1_base_interaction_callback')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classbrtr_1_1_base_interaction_callback.html">brtr::BaseInteractionCallback</a></td></tr>
<tr class="memitem:a6666bae9f8f89ebbf75637c922ebfb54 inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">osg::ref_ptr&lt; osg::Node &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#a6666bae9f8f89ebbf75637c922ebfb54">_attachTo</a></td></tr>
<tr class="separator:a6666bae9f8f89ebbf75637c922ebfb54 inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bca3b64724235e08740be94fe4acc8d inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">osg::ref_ptr&lt; osg::Camera &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#a0bca3b64724235e08740be94fe4acc8d">_hudCam</a></td></tr>
<tr class="separator:a0bca3b64724235e08740be94fe4acc8d inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f36052886ec60a227e0734bfbc4bdbb inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#a2f36052886ec60a227e0734bfbc4bdbb">_done</a></td></tr>
<tr class="separator:a2f36052886ec60a227e0734bfbc4bdbb inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af60dece4300b09fafe3c048397122cbd inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memItemLeft" align="right" valign="top">osg::ref_ptr&lt; osgText::Text &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbrtr_1_1_base_interaction_callback.html#af60dece4300b09fafe3c048397122cbd">_text</a></td></tr>
<tr class="separator:af60dece4300b09fafe3c048397122cbd inherit pro_attribs_classbrtr_1_1_base_interaction_callback"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Callback for the drunk effect. </p>
<dl class="section author"><dt>Author</dt><dd>Gleb Ostrowski </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2014 </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>GNU Public License. </dd></dl>

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8h_source.html#l00015">15</a> of file <a class="el" href="_drunken_interaction_callback_8h_source.html">DrunkenInteractionCallback.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa252ac5f3bc393ecb75784b98e17b5a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">brtr::DrunkenInteractionCallback::DrunkenInteractionCallback </td>
          <td>(</td>
          <td class="paramtype">osg::Node *&#160;</td>
          <td class="paramname"><em>camera</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">osg::Camera *&#160;</td>
          <td class="paramname"><em>hudCam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">osg::Switch *&#160;</td>
          <td class="paramname"><em>geometrySwitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">camera</td><td>the camera, whichs projection matrix will be manipulated </td></tr>
    <tr><td class="paramname">hudCam</td><td></td></tr>
    <tr><td class="paramname">geometrySwitch</td><td>switch containing the bottle, for removing it after the interaction </td></tr>
    <tr><td class="paramname">width</td><td>screenwidth </td></tr>
    <tr><td class="paramname">height</td><td>screenheight </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8cpp_source.html#l00005">5</a> of file <a class="el" href="_drunken_interaction_callback_8cpp_source.html">DrunkenInteractionCallback.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a86e4062f00a33768f752c1c5fa50c291"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void brtr::DrunkenInteractionCallback::interact </td>
          <td>(</td>
          <td class="paramtype">osg::Node *&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">osg::NodeVisitor *&#160;</td>
          <td class="paramname"><em>nv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Drunk effect is simulated by changing the FOV of the projection matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">not</td><td>needed </td></tr>
    <tr><td class="paramname">not</td><td>needed </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classbrtr_1_1_base_interaction_callback.html#a3ed50c9c1725f932e0b78c90ba24e1ed">brtr::BaseInteractionCallback</a>.</p>

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8cpp_source.html#l00013">13</a> of file <a class="el" href="_drunken_interaction_callback_8cpp_source.html">DrunkenInteractionCallback.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a71b86fc410bf2965ca998eff1350cfaf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void brtr::DrunkenInteractionCallback::setText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>sets the text on screen. Subclasses must override to set its own (info)text </p>

<p>Implements <a class="el" href="classbrtr_1_1_base_interaction_callback.html#a0fe57e329f044e21d49041c861435ad8">brtr::BaseInteractionCallback</a>.</p>

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8cpp_source.html#l00044">44</a> of file <a class="el" href="_drunken_interaction_callback_8cpp_source.html">DrunkenInteractionCallback.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a4be32ea919b41bd46acc34904fb5c7b7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool brtr::DrunkenInteractionCallback::_backwards</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8h_source.html#l00042">42</a> of file <a class="el" href="_drunken_interaction_callback_8h_source.html">DrunkenInteractionCallback.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0aa1983e0fc1cb720badb80464a8e391"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">osg::ref_ptr&lt;osg::Switch&gt; brtr::DrunkenInteractionCallback::_geometrySwitch</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8h_source.html#l00040">40</a> of file <a class="el" href="_drunken_interaction_callback_8h_source.html">DrunkenInteractionCallback.h</a>.</p>

</div>
</div>
<a class="anchor" id="adaa3e659a9f6516a5b59a43813506a11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">osg::ref_ptr&lt;osgAnimation::LinearMotion&gt; brtr::DrunkenInteractionCallback::_motion</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8h_source.html#l00041">41</a> of file <a class="el" href="_drunken_interaction_callback_8h_source.html">DrunkenInteractionCallback.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab1a42a563e42cfd1d480741b30e22245"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int brtr::DrunkenInteractionCallback::_startTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_drunken_interaction_callback_8h_source.html#l00039">39</a> of file <a class="el" href="_drunken_interaction_callback_8h_source.html">DrunkenInteractionCallback.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>header/<a class="el" href="_drunken_interaction_callback_8h_source.html">DrunkenInteractionCallback.h</a></li>
<li>Callbacks/<a class="el" href="_drunken_interaction_callback_8cpp_source.html">DrunkenInteractionCallback.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacebrtr.html">brtr</a></li><li class="navelem"><a class="el" href="classbrtr_1_1_drunken_interaction_callback.html">DrunkenInteractionCallback</a></li>
    <li class="footer">Generated on Thu Jul 17 2014 01:40:29 for BrainTrain by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
